Skip to content

Document RM-managed resource categories in README#2

Draft
Copilot wants to merge 6 commits intomainfrom
copilot/list-nvidia-rm-resources
Draft

Document RM-managed resource categories in README#2
Copilot wants to merge 6 commits intomainfrom
copilot/list-nvidia-rm-resources

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 16, 2026

RM manages GPU resources via NVOC classes; the README now briefly enumerates the key resource categories and points to the generated class list for details.

  • Resource overview: Added an English section summarizing RM-managed resources (root/device hierarchy, memory/mapping, address spaces, channels/engines, display/multimedia, sync/events, debug/perf/telemetry, virtualization/security) with exact line anchors into src/nvidia/generated/g_allclasses.h.
  • Navigation aid: Highlights the generated class list as the authoritative source for RM resource handles.

Example excerpt:

## Resource Manager (RM) managed resource types overview
- Root/client sessions and device hierarchy: NV01_ROOT … NV2082_BINAPI_PRIVILEGED (lines 36–44)
- Memory and mapping objects: NV01_MEMORY_SYSTEM … NV_MEMORY_MULTICAST_FABRIC (lines 47–69)
- Address spaces: NV01_CONTEXT_DMA (46), FABRIC_VASPACE_A (68), IO_VASPACE_A (70), FERMI_VASPACE_A (167)
...
Original prompt

我对nvidia 开源驱动的resource manager(RM) 感兴趣,帮我列举一下RM在管理哪些资源类型


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 5 commits January 16, 2026 09:52
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Co-authored-by: CabbageSong <38155817+CabbageSong@users.noreply.github.com>
Copilot AI changed the title [WIP] Document resource types managed by Nvidia RM Document RM-managed resource categories in README Jan 16, 2026
Copilot AI requested a review from CabbageSong January 16, 2026 09:58
@CabbageSong
Copy link
Copy Markdown
Owner

@copilot 先不要写代码,我在为一款国产gpu实现一个类似nvidia rm的功能,目前的框架层实现类似nv的对象层级管理,但现在有一个问题,具体需要管理的资源种类有哪些?

Copy link
Copy Markdown
Author

Copilot AI commented Jan 19, 2026

@copilot 先不要写代码,我在为一款国产gpu实现一个类似nvidia rm的功能,目前的框架层实现类似nv的对象层级管理,但现在有一个问题,具体需要管理的资...

我在 README 新增了 RM 资源类型概览(commit 04ba47f)并梳理了主要类别:根/客户端与设备层级句柄(NV01_ROOT/NV01_DEVICE_0 等)、各类内存与映射(系统/本地/虚拟、同步点、导出/导入、Fabrics/多播等)、地址空间与上下文(NV01_CONTEXT_DMA、FABRIC/IO/FERMI_VASPACE)、调度与执行通道/引擎(各代 GPFIFO、DMA_COPY、COMPUTE 等)、显示与多媒体单元(显示面、窗口/光标通道、VBlank、视频编解码/NVJPG/OFA)、同步与事件(事件、计时器、信号量、事件缓冲)、调试与性能(Profiler、调试缓冲、访问计数/MMU 故障缓冲、计数器采集)、虚拟化与安全(VGPU/SMC/机密计算)。具体类名和出处行号可见 README 新增段落及 src/nvidia/generated/g_allclasses.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants